<?php

class Engine_Form_Element_Submit extends Engine_Form_Element_Button {

	public function __construct($name) {
		parent::__construct($name);
		$this->setStyle(Engine_Form_Element_Button::BTN_PRIMARY);
		$this->setAttrib('type', 'submit');
	}
    
    public function compile1() {
        $result = '<button class="btn btn-large btn-primary" type="submit" ' . $this->renderAttribs(). ' >' . $this->label . '</button>'."\r\n";
        return $result;
    }

    public function populate($value) {

    }

}